#include "Button.h"


Button::Button(int lineNum, int startPos, int endPos, const std::string& text, IButtonListener* const plistener, const uint16_t id): super(lineNum, startPos, endPos, EditorType::BUTTON), mid(id), mplistener(plistener) {
    textBuffer = text;
}


Button::~Button() {
    //dtor
}


